package model

type Order struct {
	OrderId			uint					`gorm:"primary_key"`
	OrderCode		string					`gorm:"order_code;size:20;unique_index"`
	OrderNumber		int						`gorm:"order_number"`
	SaleDate  		JsonTime				`gorm:"type:date"`
	SalePrice     	float32					`gorm:"type:double(11,2)"`
	Remark     		string					`gorm:"type:varchar(50)"`
	BaseDate
}

func (Order) TableName() string {
	return "tbl_order"
}
